﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo2
{
    class Program
    {
        enum Order
        {
            新订单,
            已发货,
            已签收,
            已评价
        }
        enum Fruit
        {
            香蕉 = 3,
            苹果 = 4,
            西瓜 = 1,
            草莓 = 6,
            葡萄 = 7,
            哈密瓜 = 2,
            奇异果 = 5
        }
        enum Occupation
        {
            战士,
            法师,
            精灵
        }
        static void Main(string[] args)
        {
            Console.WriteLine((int)Order.新订单);
            CutFruit(Fruit.香蕉);
            Op(Occupation.战士);
        }
        static void CutFruit(Fruit fruit)
        {
            int score = (int)fruit;
            Console.WriteLine(score);
        }
        static void Op(Occupation occupation)
        {
            switch (occupation)
            {
                case Occupation.战士:
                    Console.WriteLine("碎石打击、烈焰锚钩、战斗咆哮");
                    break;
                case Occupation.法师:
                    Console.WriteLine("巨浪冲击、元素突击、复仇杀戮");
                    break;
                case Occupation.精灵:
                    Console.WriteLine("减速陷阱、能量浪潮、旋风剑舞");
                    break;
                default:
                    break;
            }
        }
    }
}
